<?php
// Connection Information
$host = ""; // Your mysql server address
$DBName = ""; // Your mysql database name
$DBUser = ""; // Your msql username
$DBPass = ""; // Your mysql password
$tableName = "3_text";
$usersTable = "3_users";
$settingsTable = "3_settings";
// Don't change from here
// Connect
$conn = @mysql_connect($host, $DBUser, $DBPass) or die("Could not connect to database server");
$db = @mysql_select_db($DBName) or die("Could not find database ".$DBName." on server ".$host.".");
// Retrive Settings Array
$query = @mysql_query("SELECT * FROM `$settingsTable` WHERE `id`='1' LIMIT 1") or die("Query Error! Error Code: settings1");
$settings=@mysql_fetch_array($query) or die("Array error! Error code: settings2");
// Set Settings Variables!
$version = $settings['version'];
$isbeta = $settings['isbeta'];
$betaMSG = $settings['betaMSG'];
$domain = $settings['domain'];
$theme = $settings['theme'];
$themeADR = $domain."/3-content/themes/".$theme."/".$theme.".css";
$name = $settings['name'];
?>